﻿using my.abp.Domain.Shared.Entities;
using my.abp.Domain.Shared.Enums;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Services;

namespace my.abp.Domain.IManagers.Dict
{
	public interface ISysDictTypeManager : IDomainService
	{
		public Task<List<SysDictData>> GetDataList(string code);
		public Task<List<SysDictData>> GetDataList(string code, int? Status);
		public Task<List<SysDictType>> GetList(string Code, string Name, int pageNumber, int pageSize, RefAsync<int> total);
		public Task<List<SysDictType>> GetList();
		public Task<List<SysDictData>> GetFirstAsync(string Code);
		public Task<bool> AddDictType(SysDictType input);
		public Task UpdateDictType(SysDictType input);
		public Task DeleteDictType(long Id);
		public Task<SysDictType> GetDetail(long Id);
		public Task SetStatus(long Id, StatusEnum Status);
		public Task<List<SysDictType>> GetAllDictList();
	}
}
